//package com.ikonke.reactor_learn.reactor.handler;
//
//import org.springframework.http.MediaType;
//import org.springframework.stereotype.Component;
//import org.springframework.web.reactive.function.BodyInserters;
//import org.springframework.web.reactive.function.server.ServerRequest;
//import org.springframework.web.reactive.function.server.ServerResponse;
//import reactor.core.publisher.Mono;
//
///**
// * @Author: liull
// * @Description: lambda webflux编程
// * @Date: Created in 15:33 2020/8/7
// * @Modified By:
// */
//@Component
//public class CityHandler {
//
//    public Mono<ServerResponse> cityHandler(ServerRequest request) {
//        return ServerResponse.ok().contentType(MediaType.TEXT_PLAIN).body(BodyInserters.fromValue("hello lyl city"));
//    }
//}
